﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Template.aspx.cs" Inherits="WinnerCMS.WebUI.Admin.Template.Template" %>

<!doctype html>
<html>
<head runat="server">
    <title>模板管理</title>
    <meta charset="utf-8">
    <meta content="no-cache" http-equiv="Pragma" />
    
    <%: Styles.Render("~/Content/Bootstrap/css") %>
</head>
<body>
    <form id="form1" runat="server">
    <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" GridLines="None" CssClass="table table-bordered table-condensed table-hover">
        <Columns>
            <asp:TemplateField HeaderText="名称">
                <ItemTemplate>
                    <img src="../Images/FileICO/<%# Eval("ICO") %>" onerror="this.src='../Images/FileICO/err.gif'" />
                    <%# Eval("Name") %>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="Size" HeaderText="大小">
                <HeaderStyle Width="100px" />
                <ItemStyle HorizontalAlign="Right" />
            </asp:BoundField>
            <asp:BoundField DataField="LastWriteTime" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}"
                HeaderText="修改时间" HtmlEncode="False">
                <HeaderStyle Width="120px" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField HeaderText="文本编辑" DataField="Edit" HtmlEncode="False">
                <HeaderStyle Width="100px" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField HeaderText="模板查看" DataField="See" HtmlEncode="False">
                <HeaderStyle Width="100px" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
        </Columns>
        <HeaderStyle CssClass="HeaderStyle" />
    </asp:GridView>
    <div class="WorkArea">
        <table>
            <tr>
                <td align="left">
                    目录名称：
                </td>
                <td align="left" width="25%">
                    <input id="txtForderName" style="width: 200px" name="txtForderName" />
                </td>
                <td align="left" width="15%">
                    <input class="btn btn-default" id="btnCreateFolder" type="submit" value="创建目录" name="btnCreateFolder" />
                </td>
                <td width="30%">
                    <asp:FileUpload ID="FileUpload1" runat="server" />
                </td>
                <td width="10%">
                    <input class="btn btn-default" id="btnTemplateUpLoad" type="submit" value="上传模板" name="btnTemplateUpLoad" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
